﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Chess.Common.Network;

namespace Chess.Client
{
    internal static class Handler
    {
        internal static void Handle(Connection connection, NetworkData data)
        {
            switch (data.Id.ToString())
            {
                case "success":
                    break;
                case "error":
                    ErrorPacket error = (ErrorPacket) data;
                    ErrorType errorType = error.ErrorId;
                    break;
            }
        }
    }   
}
